<?phpclass OrderShippingEntityBase{	public $deal_order_id;	public $user_id;	public $creation_date;	public $shipping_date;	public $status;		const RECEIVED = 'received';	const NORECEIV = 'notreceiv';	const COMPLETE = 'completed';	public function __construct($arrValue = null, $prefix = '')
	{
		if(!is_null($arrValue) && is_array($arrValue))
		{			$this->deal_order_id = strval ($arrValue[$prefix . 'deal_order_id']);			$this->user_id = strval ($arrValue[$prefix . 'user_id']);			$this->creation_date = strval ($arrValue[$prefix . 'creation_date']);			$this->shipping_date = strval($arrValue[$prefix . 'shipping_date']);			$this->status = strval ($arrValue[$prefix . 'status']);		}
	}	/**	 * Get all fields for selecting columns	 *	 * @param string $alias: alias of table	 * @param string $prefix	 * @return string	 */	public static function getSelectColumns($alias, $prefix = '')	{		$arrValue = array(						"{$alias}.deal_order_id AS `{$prefix}deal_order_id`",						"{$alias}.user_id AS `{$prefix}user_id`",						"{$alias}.creation_date AS `{$prefix}creation_date`",						"{$alias}.shipping_date AS `{$prefix}shipping_date`",						"{$alias}.status AS `{$prefix}status`"						);		return implode(',', $arrValue);	}}